FEAT_TMP := ../feature/tmp
TMP_ROOT := ./tmp

sample.gbdt.model1.csv: ./gbdt.py
	./gbdt.py $(FEAT_TMP)/train2.parts.0.train.svm $(FEAT_TMP)/train2.parts.0.valid.svm $(FEAT_TMP)/test2.train.fm

sample.gbdt.full.model1.csv: ./gbdt.py
	./gbdt.py 200 $(FEAT_TMP)/train2.train.fm $(FEAT_TMP)/train2.valid.fm $(FEAT_TMP)/test2.train.fm

gbdt.with.facebook.model1.csv: ./gbdt.py
	./gbdt.py $(FEAT_TMP)/train2.train.with.gbdt_fea.fm $(FEAT_TMP)/train2.valid.with.gbdt_fea.fm $(FEAT_TMP)/test2.valid.with.gbdt_fea.fm

sample.gbdt.full.model2.csv: ./gbdt.py
	./gbdt.py 137 6 $(FEAT_TMP)/train3.train.fm $(FEAT_TMP)/train3.valid.fm $(FEAT_TMP)/test3.train.fm
	./prepare_pred.sh $(FEAT_TMP)/test3.train.fm.gbdt.pred > test3.gbdt.csv

test4.model1.csv: ./gbdt.py
	./gbdt.py 161 6 1 ../feature.0/tmp/train4.train.fm ../feature.0/tmp/test4.train.fm
	./prepare_pred.sh ../feature.0/tmp/test4.train.fm.gbdt.pred > test4.gbdt.csv

test0.model1.csv: ./gbdt.py
	./gbdt.py 300  6 1 $(FEAT_TMP)/train0.train.fm $(FEAT_TMP)/test0.train.fm
	./prepare_pred.sh $(FEAT_TMP)/test0.train.fm.gbdt.pred > test0.gbdt.csv

test5.model1.csv: ./gbdt.py
	./gbdt.py 300  6 1 $(FEAT_TMP)/train5.train.fm $(FEAT_TMP)/test5.train.fm
	./prepare_pred.sh $(FEAT_TMP)/test5.train.fm.gbdt.pred > test5.gbdt.csv

test6.model1.csv: ./gbdt.py
	./gbdt.py 300  7 1 $(FEAT_TMP)/train6.train.fm $(FEAT_TMP)/test6.train.fm
	./prepare_pred.sh $(FEAT_TMP)/test6.train.fm.gbdt.pred > test6.gbdt.csv
	
test7.model1.csv: ./gbdt.py
	./gbdt.py 90  6 1 $(FEAT_TMP)/train3.total.fm $(FEAT_TMP)/test3.total.fm
	./prepare_pred.sh $(FEAT_TMP)/test3.total.fm.gbdt.pred > test3.gbdt.csv
test8.model1.csv: ./gbdt.py
	./gbdt.py 45  7 1 $(FEAT_TMP)/train4.total.fm $(FEAT_TMP)/test4.total.fm
	./prepare_pred.sh $(FEAT_TMP)/test4.total.fm.gbdt.pred > test8.gbdt.csv
